package cmo.neutech.day10.HomeWork.d4;

import java.util.Scanner;

public class TestCompany {
    public static void main(String[] args) {
        Scanner update = new Scanner(System.in);
        ColaEmployee[] co = new ColaEmployee[5];
        Company company = new Company();
        co[0] = new SalariedEmployee("张三",1,10000);
        co[1] = new HourlyEmployee("李四",2,100,8);
        co[2] = new SalesEmployee("王五",4,10000,0.1);
        co[3] = new SalariedEmployee("赵六",5,10000);
        co[4] = new SalesEmployee("魏七",6,9000,0.4);
        int m = update.nextInt();
        company.stamp(co,m);
    }
}
